#!/usr/bin/env python3
# -*- encoding: utf-8 -*-
"""
@UserFor     :   ***  自己项目去掉文件名template后缀就可以了  ***
@File        :   local_settings_templete.py    
@Email       :   18574945291@163.com
@Modify Time :   2020/12/11 20:17
@Author      :   code_wizard (wll) 
"""

# 隧道域名:端口号
tunnel = ""

# 用户名密码方式
AGENT_USERNAME = ""
AGENT_PASSWORD = ""
PROXIES = {
    "http": "http://%(user)s:%(pwd)s@%(proxy)s/" % {"user": AGENT_USERNAME, "pwd": AGENT_PASSWORD, "proxy": tunnel},
    "https": "http://%(user)s:%(pwd)s@%(proxy)s/" % {"user": AGENT_USERNAME, "pwd": AGENT_PASSWORD, "proxy": tunnel}
}

COOKIE_POOL_NAME = "qcc_spider:cookie_pool"

redis_dev = {
    "host": '192.168.0.107',
    "port": 6399,
    "db": 11,
    "password": 'Chkj@2015',
}
redis_prod = {
    "host": '',
    "port": None,
    "db": None,
    "password": '',
}

mysql_dev = {
    "host": "192.168.0.107",
    "user": 'root',
    "passwd": '#Kyk_2019',
    "port": 3306,
    "db": 'ml',
    "charset": 'utf8',
}

mysql_prod = {
    "host": "",
    "user": '',
    "passwd": '',
    "port": 3306,
    "db": '',
    "charset": '',
}
